The original VOGL hardware fonts small and large
have the font numbers 0 and 1 respectively. The default font is
0. For X11 displays the default fonts used by the program
can be overridden by placing the following defaults in the
~/.Xdefaults
file:
- vogl.smallfont
- <font name>
- vogl.largefont
- <font name>
- void font
- (short fontid)
Set the current font
- void cmov
- (Coord x,Coord y,Coord z)
Change the current character position. The usual variations
with the extensions i and s also apply here.
- void cmov2
- (Coord x,Coord y)
Change the current character position in x and y. The
usual variations with the extensions i and s also
apply here (ie. cmov2i and cmov2s).
- long getheight
- ()
Return the maximum height in the current font.
- long getwidth
- ()
Return the maximum width in the current font.
- void charstr
- (char *str)
Draw the text in string at the current position.